@extends('home.layout.base')

<link rel="stylesheet" href="{{URL::asset('./css/store/img.css')}}">
@section('content')
@include('home.store.storeHeader')

<div class="main" id="storeImg"  v-cloak>
    <div>
        <div v-for="(item,index) in storeImg">
            <img :src="item">
            <!-- <span>办公环境</span> -->
        </div>
    </div>
</div>
@endsection
@section('scripts')
<script>
    $(() => {
        let storeSummary = new Vue({
            el: '#storeImg',
            data: () => {
                return {
                    storeId: getQueryString('id'),
                    storeImg: [],

                }
            },
            created() {

                let storeDetailData = {
                    id: this.storeId

                }
                apiAjax("{{ route('home.store.imageApi')}}", 'get', storeDetailData, (res) => {
                    if (res.code == 0) {
                        this.storeImg = res.data.image;
                    } else {}
                }, (erro) => {});
            },
            mounted() {},
            methods: {}
        })
    })
</script>
@endsection